package com.patchmanage.back.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
* <p>
    * 
    * </p>
*
* @author huizhao
* @since 2021-04-17
*/
    @ApiModel(value="GeneralConfiguration对象", description="")
    public class GeneralConfiguration implements Serializable {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            @ApiModelProperty(value = "是否开启同步时间（0否1开）")
    private Integer isOpenSyncTime;

            @ApiModelProperty(value = "ntp服务器")
    private String syncTimeNtpServerUrl;

            @ApiModelProperty(value = "ssh服务")
    private Integer sshService;

            @ApiModelProperty(value = "icmp服务（0关1开）")
    private Integer icmpService;

            @ApiModelProperty(value = "防火墙服务（0关1开）")
    private Integer firewallService;

            @ApiModelProperty(value = "web服务（0关1开）")
    private Integer webService;

            @ApiModelProperty(value = "平台主机服务（0关1开）")
    private Integer platformHostService;

            @ApiModelProperty(value = "网卡服务（0关1开）")
    private Integer netcardService;

            @ApiModelProperty(value = "系统服务（0关1开）")
    private Integer sysService;

            @ApiModelProperty(value = "禁止访问ip")
    private String accessDeniedIps;

    private LocalDateTime updateTime;

        public Integer getId() {
        return id;
        }

            public void setId(Integer id) {
        this.id = id;
        }
        public Integer getIsOpenSyncTime() {
        return isOpenSyncTime;
        }

            public void setIsOpenSyncTime(Integer isOpenSyncTime) {
        this.isOpenSyncTime = isOpenSyncTime;
        }
        public String getSyncTimeNtpServerUrl() {
        return syncTimeNtpServerUrl;
        }

            public void setSyncTimeNtpServerUrl(String syncTimeNtpServerUrl) {
        this.syncTimeNtpServerUrl = syncTimeNtpServerUrl;
        }
        public Integer getSshService() {
        return sshService;
        }

            public void setSshService(Integer sshService) {
        this.sshService = sshService;
        }
        public Integer getIcmpService() {
        return icmpService;
        }

            public void setIcmpService(Integer icmpService) {
        this.icmpService = icmpService;
        }
        public Integer getFirewallService() {
        return firewallService;
        }

            public void setFirewallService(Integer firewallService) {
        this.firewallService = firewallService;
        }
        public Integer getWebService() {
        return webService;
        }

            public void setWebService(Integer webService) {
        this.webService = webService;
        }
        public Integer getPlatformHostService() {
        return platformHostService;
        }

            public void setPlatformHostService(Integer platformHostService) {
        this.platformHostService = platformHostService;
        }
        public Integer getNetcardService() {
        return netcardService;
        }

            public void setNetcardService(Integer netcardService) {
        this.netcardService = netcardService;
        }
        public Integer getSysService() {
        return sysService;
        }

            public void setSysService(Integer sysService) {
        this.sysService = sysService;
        }
        public String getAccessDeniedIps() {
        return accessDeniedIps;
        }

            public void setAccessDeniedIps(String accessDeniedIps) {
        this.accessDeniedIps = accessDeniedIps;
        }
        public LocalDateTime getUpdateTime() {
        return updateTime;
        }

            public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
        }

    @Override
    public String toString() {
    return "GeneralConfiguration{" +
            "id=" + id +
            ", isOpenSyncTime=" + isOpenSyncTime +
            ", syncTimeNtpServerUrl=" + syncTimeNtpServerUrl +
            ", sshService=" + sshService +
            ", icmpService=" + icmpService +
            ", firewallService=" + firewallService +
            ", webService=" + webService +
            ", platformHostService=" + platformHostService +
            ", netcardService=" + netcardService +
            ", sysService=" + sysService +
            ", accessDeniedIps=" + accessDeniedIps +
            ", updateTime=" + updateTime +
    "}";
    }
}
